/**
 * 用户信息接口
 */
export interface User {
  id: number;
  userName: string;
  userAccount: string;
  userProfile?: string;
  userRole: 'user' | 'admin';
  createTime: string;
  updateTime?: string;
}

/**
 * 用户表单接口
 */
export interface UserForm {
  userName: string;
  userAccount: string;
  userPassword: string;
  userProfile?: string;
  userRole: 'user' | 'admin';
}

/**
 * 用户列表查询参数
 */
export interface UserListParams {
  current: number;
  pageSize: number;
  sortField?: string;
  sortOrder?: string;
  id?: number;
  userName?: string;
  userAccount?: string;
  userProfile?: string;
  userRole?: string;
}

/**
 * 分页响应数据
 */
export interface PageResponse<T> {
  records: T[];
  total: number;
  current: number;
  size: number;
} 
